#ifndef _EIDLIST_H_
#define _EIDLIST_H_

#define EID_LIST_MAX 20
#include "ipc/Shm.h"

typedef struct{
    long id;
    char uri[40];
} EID;

class EidList{

    private:
    Shm memoria;

    public:
    EidList(const char* path, int id);
    void insertar(long id, const char* uri);
    EID obtener(long id);
    EID obtener(const char* uri);
    void reset();
};

#endif /* _EIDLIST_H_ */
